<template>
    <div class="tree-select-loading"></div>
</template>
<script>
export default {
    name: 'TreeSelectLoading'
}
</script>
<style>
.tree-select-loading{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, .7);
}
.tree-select-loading:after{
    content: '';
    display: inline-block;
    width: 30px;
    height: 30px;
    border: 4px solid #218bf2;
    border-bottom-color: transparent;
    border-radius: 50%;
    -webkit-animation: ball-clip-rotate 0.75s linear infinite;
    -moz-animation: ball-clip-rotate 0.75s linear infinite;
    -o-animation: ball-clip-rotate 0.75s linear infinite;
    animation: ball-clip-rotate 0.75s linear infinite
}
@-webkit-keyframes ball-clip-rotate {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg)
    }

    50% {
        -webkit-transform: rotate(180deg);
        transform: rotate(180deg)
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg)
    }
}
</style>